package com.easylinkin.linkappapi.machinery.vo;

import lombok.Data;

/**
 * @author xiaoyang
 * @version 1.0
 * @date 2022/12/09
 * @description
 */
@Data
public class ProjectWarnStatsticsVO {

  public ProjectWarnStatsticsVO(String projecId, Integer warnNum) {
    this.projecId = projecId;
    this.warnNum = warnNum;
  }

  public ProjectWarnStatsticsVO(String projecId, String projectName, Integer warnNum,
      Integer days) {
    this.projecId = projecId;
    this.projectName = projectName;
    this.warnNum = warnNum;
    this.days = days;
  }

  /**
   * 项目id
   */
  private String projecId;
  /**
   * 项目名称
   */
  private String projectName;
  /**
   * 告警数
   */
  private Integer warnNum;
  /**
   * 运行天数
   */
  private Integer days;
}
